<script setup lang="ts">
const props = defineProps({
    title: {
        type: String, 
        default: '全新' 
    },
    bgColor: {
        type: String,
        default: '#FF1717'
    }
});

</script>

<template>
    <view class="mark-tips" :style="{background: bgColor}" >{{ title }}</view>
</template>
<style lang="scss" scoped>
.mark-tips{
    flex-shrink: 0;
    height: 32rpx;
    padding: 0 10rpx;
    line-height: 32rpx;
    color: #fff;
    border-radius: 10rpx;
    font-family: PingFang SC, PingFang SC;
    font-weight: bold;
    font-size: 20rpx;
}
</style>
